package com.mmall.concurrency.example.other;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

import static java.util.concurrent.Executors.*;


/**
 * @Author:LiuWei
 * @Description:
 * @Date: Created in 19:19 2019/3/19
 * @Modified By:
 */
@Slf4j
public class ThreadDemo {
    public static ExecutorService executorService = Executors.newFixedThreadPool(2);
    public static void main(String[] args) {
        DataObject dataObject = new DataObject();
        dataObject.setData(100);




    }
}
class DataObject{
    @Getter
    @Setter
    private Integer data;


}
